import request from '../utils/request';
import url from '../utils/url';

//支付开关列表
export function pay(params) {
    return request(url.pay, {
        method: 'GET',
        params
    })

}
//开启/关闭支付
export function upd(params) {
    return request(url.upd, {
        method: 'POST',
        params
    })

}